home *** CD-ROM | disk | FTP | other *** search
/ Shareware Super Platinum 8 / Shareware Super Platinum 8.iso / mac / PROGTOOL / TGE133.ZIP;1 / LIB / BCH.MAK < prev    next >
Encoding:
Text File  |  1994-07-18  |  2.8 KB  |  84 lines

  1. #
  2. # Use this makefile to create a copy of BCH.LIB (Borland C++ huge model).
  3. #
  4. # You will need the registered version of TGE to use this makefile, as the
  5. # shareware version does not include source code.
  6. #
  7. # By default, debugging information is not stored in the library.  To
  8. # create a copy of BCH.LIB containing debugging information:
  9. #    1. Edit the CC and ASM symbols to include the appropriate command-line
  10. #       switches for your compiler and assembler, respectively.  To add or
  11. #       remove debugging information to or from individual files, refer to
  12. #       the end of this makefile.
  13. #    2. Run 'MAKE -fbch.mak' to create a new copy of BCH.LIB (with
  14. #       debugging information).
  15. #
  16. # By default, TGESETUP.C, CLIP.C, and MOUSEPTR.C are compiled as
  17. # overlayable OBJ files.  With the exception of NEWMOUSE.ASM, any of TGE's
  18. # modules may be overlaid; in general, however, only those modules which
  19. # are used infrequently should be overlaid.  It is strongly recommended
  20. # that TGEFUNCS.C not be overlaid, except under the severest memory
  21. # restrictions, as doing so may degrade performance.  To change the overlay
  22. # status of one or more of TGE's modules, add or remove MAKE dependency and
  23. # building information for the file(s) involved, following the examples at
  24. # the end of this makefile.
  25. #
  26.  
  27. .autodepend
  28.  
  29. CC_OVERLAY  = -Yo
  30. ASM_OVERLAY = /o
  31. CC_DEBUG    = -v
  32. ASM_DEBUG   = /zi
  33. CC          = bcc -c -mh -O -Z -d -r -G -a -2 -Vf- -V -k-
  34. ASM         = tasm /ml
  35. LIB         = tlib /c /e
  36. OBJFILES    = ..\source\tgefuncs.obj    \
  37.               ..\source\tgesetup.obj    \
  38.               ..\source\clip.obj    \
  39.               ..\source\fixfont.obj    \
  40.               ..\source\varfont.obj    \
  41.               ..\source\tgemouse.obj    \
  42.               ..\source\mouseptr.obj    \
  43.               ..\source\newmouse.obj    \
  44.               ..\source\scale.obj    \
  45.               ..\source\palette.obj    \
  46.               ..\source\rawfile.obj    \
  47.               ..\source\pcxfile.obj     \
  48.               ..\source\replace.obj
  49.  
  50.  
  51. .asm.obj:
  52.      $(ASM) $<
  53. .cpp.obj:
  54.      $(CC) $<
  55. .c.obj:
  56.      $(CC) $<
  57.  
  58.  
  59. bch.lib:  $(OBJFILES)
  60.      $(LIB) bch.lib @tgelib.lst
  61.      del *.obj
  62.  
  63.  
  64. #
  65. # To individually change a file's overlay or debugging information status,
  66. # edit this section.  (Of course, the appropriate options may need to be
  67. # passed to the linker for these options to take effect.)  Use the CC and
  68. # CC_OVERLAY symbols for C/C++ source files, and the ASM and ASM_OVERLAY
  69. # symbols for assembly source files.
  70. #
  71.  
  72. tgesetup.obj:  tgesetup.c
  73.      $(CC) $(CC_OVERLAY) tgesetup.c
  74.  
  75. clip.obj:  clip.c
  76.      $(CC) $(CC_OVERLAY) clip.c
  77.  
  78. mouseptr.obj:  mouseptr.c
  79.      $(CC) $(CC_OVERLAY) mouseptr.c
  80.  
  81. # Example of how to overlay an ASM file and include debugging information:
  82. # tgemouse.obj:  tgemouse.asm
  83. #      $(ASM) $(ASM_DEBUG) $(ASM_OVERLAY) tgemouse.asm
  84.